package com.yangxk.kadmin.common.exception;

public abstract class BaseException extends RuntimeException {
    protected int code;

    protected String message;

    public int getCode() {
        return code;
    }

    @Override
    public String getMessage() {
        return message;
    }
}
